import request from '@/api/request'

export function requestLogin(data) {
  return request({
    method: 'post',
    url: '/lejuAdmin/index/login',
    data
  })
}

// 获取初始化用户菜单及权限
export function getInitMenus() {
  return request({
    url: '/admin/sysAuth/index/getInitMenus',
    method: 'get'
  })
}
// 获取初始化用户菜单及权限
export function getBaseData() {
  return request({
    url: '/lejuAdmin/dashboard/baseData',
    method: 'get'
  })
}
